﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QLKTX1._0.DTO
{
    class PhongODTO
    {
        private int maPhongO;
        private PhongDTO maPhong;
        private HienTrangPhongDTO maHienTrang;
        private LoaiPhongDTO maLoaiPhong;
        private DotDangKyDTO maDot;
        private int soLuongDangKy;
        private int soLuongCon;
        private int tinhTrang;

        //ham get set
        public int MaPhongO
        {
            get { return maPhongO; }
            set { maPhongO = value; }
        }
        public PhongDTO MaPhong
        {
            get { return maPhong; }
            set { maPhong = value; }
        }
        public HienTrangPhongDTO MaHienTrang
        {
            get { return maHienTrang; }
            set { maHienTrang = value; }
        }
        public LoaiPhongDTO MaLoaiPhong
        {
            get { return maLoaiPhong; }
            set { maLoaiPhong = value; }
        }
        public DotDangKyDTO MaDot
        {
            get { return maDot; }
            set { maDot = value; }
        }
        public int SoLuongDangKy
        {
            get { return soLuongDangKy; }
            set { soLuongDangKy = value; }
        }
        public int SoLuongCon
        {
            get { return soLuongCon; }
            set { soLuongCon = value; }
        }
        public int TinhTrang
        {
            get { return tinhTrang; }
            set { tinhTrang = value; }
        }
        //ham dung
        public PhongODTO()
        {

        }

        public PhongODTO(int maPhongO, PhongDTO maPhong, HienTrangPhongDTO maHienTrang, LoaiPhongDTO maLoaiPhong, DotDangKyDTO maDot, int soLuongDangKy, int soLuongCon, int tinhTrang)
        {
            this.maPhongO = maPhongO;
            this.maHienTrang = maHienTrang;
            this.maPhong = maPhong;
            this.maLoaiPhong = maLoaiPhong;
            this.maDot = maDot;
            this.soLuongDangKy = soLuongDangKy;
            this.soLuongCon = soLuongCon;
            this.tinhTrang = tinhTrang;
        }
    }
}
